package com.xty.itgroup.tech05tytex.Util;

public enum ResultEnum {
    SUCCESS(0, "成功"),

    LOGIN_ERROR(99, "账号或密码错误");

    private Integer code;
    private String message;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return message;
    }

    public void setMsg(String msg) {
        this.message = msg;
    }

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
